package com.shirodemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by 追风少年
 *
 * @email doubihah@foxmail.com
 * @create 2017/12/11 下午9:09
 **/
@Controller
public class MainController {

    @RequestMapping("/")
    public String index(){
        System.out.println(">>>>>>>跳转222主页....");
        return "index";
    }

}
